package com.nut.lmsc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.nut.lmsc.api.req.CircleQueryReq;
import com.nut.lmsc.common.Result;
import com.nut.lmsc.entity.Circle;

import java.util.List;
import java.util.Set;

public interface CircleService {

    Result<List<Circle>> list();

    Result<IPage<Circle>> listPage(CircleQueryReq req);

    Result<Circle> getById(Integer id);

    Result add(Circle circle);

    Result updateById(Circle circle);

    Result deleteByIds(Set<Integer> ids);

}
